home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
text
/
edit
/
Smartindent.lha
/
Smartindent
/
Source
/
dispatcher.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-12-14
|
835b
|
36 lines
/*(( "Kopf" */
/* -----------------------------------------------------------------------------
$Id: dispatcher.h,v 1.4 1997/06/26 14:27:02 mshopf Exp mshopf $
GoldED API client, ©1997 Matthias Hopf.
Compiled with SasC.
Function dispatcher.
------------------------------------------------------------------------------
*/
/*)) */
#ifndef _DISPATCHER_H_
#define _DISPATCHER_H_
struct Parser
{
char *Cmd;
char *(*Handler) (struct SmartClient *, struct APIMessage *, LONG *);
char *Template;
};
extern char *ScanArgs (struct SmartClient *, char *, struct APIMessage *);
extern void DispatchCmd (struct SmartClient *, struct APIMessage *);
extern void DispatchKey (struct SmartClient *, struct APIMessage *);
extern char *apiCommands[];
extern struct Parser Parser[];
#endif /* _DISPATCHER_H_ */